package com.alit.face.koala.controller.app;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("app")
public class AppController {

  @RequestMapping("employee")
  public String employee() {
    return "forward:/app/workspace.html";
  }

  @RequestMapping("workspace")
  @ResponseBody
  public String workspace() {
    return "首页功能开发中";
  }

  @RequestMapping("user_record")
  @ResponseBody
  public String userRecord() {
    return "用户记录功能开发中";
  }

  @RequestMapping("stranger_record")
  @ResponseBody
  public String strangerRecord() {
    return "陌生人记录功能开发中";
  }

  @RequestMapping("entrance_device")
  @ResponseBody
  public String entranceDevice() {
    return "门禁设备管理功能开发中";
  }

  @RequestMapping("auth_manage")
  @ResponseBody
  public String authManage() {
    return "权限管理功能开发中";
  }
  
  @RequestMapping("auth_manage/1")
  @ResponseBody
  public String authManageOne() {
    return "权限管理功能开发中";
  }

  @RequestMapping("theme")
  @ResponseBody
  public String theme() {
    return "迎宾管理功能开发中";
  }
  
  @RequestMapping("account")
  @ResponseBody
  public String account(){
    return "账号管理功能开发中";
  }
  
  @RequestMapping("system")
  @ResponseBody
  public String system(){
    return "系统设置功能开发中";
  }
  
  @RequestMapping("about_us")
  @ResponseBody
  public String aboutUs(){
    return "关于我们功能开发中";
  }
}
